/**
 * 应用常量配置
 * 统一管理应用中的常量值
 */
export const APP_CONSTANTS = {
  // 应用基本信息
  APP_NAME: '振涛教育',
  APP_VERSION: '1.0.0',
  APP_DESCRIPTION: '鸿蒙生态开发学院',

  // 颜色配置
  COLORS: {
    // 主色调
    PRIMARY: '#DEEAF0',
    SECONDARY: '#1C1F28',

    // 背景色
    BACKGROUND: 'rgb(15, 15, 17)',
    BACKGROUND_LIGHT: '#1B1C1E',
    BACKGROUND_DARK: '#101113',

    // 文字颜色
    TEXT_PRIMARY: '#FFFFFF',
    TEXT_SECONDARY: '#6B6B6B',
    TEXT_GRAY: '#879193',
    TEXT_LIGHT: '#C4CACC',

    // 状态颜色
    SUCCESS: '#4CAF50',
    WARNING: '#FF9800',
    ERROR: '#F44336',
    INFO: '#2196F3',
  },

  // 尺寸配置
  SIZES: {
    // 布局尺寸
    TAB_HEIGHT: 60,
    HEADER_HEIGHT: 56,
    BOTTOM_SAFE: 34,

    // 图标尺寸
    ICON_SIZE_SMALL: 16,
    ICON_SIZE_MEDIUM: 24,
    ICON_SIZE_LARGE: 32,

    // 间距
    PADDING_SMALL: 8,
    PADDING_MEDIUM: 16,
    PADDING_LARGE: 24,

    MARGIN_SMALL: 8,
    MARGIN_MEDIUM: 12,
    MARGIN_LARGE: 20,

    // 圆角
    BORDER_RADIUS_SMALL: 4,
    BORDER_RADIUS_MEDIUM: 8,
    BORDER_RADIUS_LARGE: 16,
    BORDER_RADIUS_CIRCLE: 50,
  },

  // 动画配置
  ANIMATION: {
    DURATION_FAST: 200,
    DURATION_NORMAL: 300,
    DURATION_SLOW: 500,
    EASING: 'ease-in-out',
  },

  // 网络配置
  NETWORK: {
    TIMEOUT: 10000,
    RETRY_TIMES: 3,
  },
} as const;

/**
 * 平台配置常量
 */
export const PLATFORMS = {
  DOUYIN: 'douyin',
  KUAISHOU: 'kuaishou',
  WEIBO: 'weibo',
  XIAOHONGSHU: 'xiaohongshu',
} as const;

/**
 * 可见性配置常量
 */
export const VISIBILITY = {
  PUBLIC: 'public',
  MUTUAL: 'mutual',
  PRIVATE: 'private',
} as const;

/**
 * 状态配置常量
 */
export const STATUS = {
  LOADING: 'loading',
  SUCCESS: 'success',
  ERROR: 'error',
  EMPTY: 'empty',
} as const;
